package com.sitech.ibnms.c3p.mappers;

import com.sitech.ibnms.c3p.domain.C3pScriptParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

/**
 * Created by liujhc on 7/21.
 */
public interface C3pScriptMapper {
    @Cacheable("longTerm")
    List<String> findScriptContentById(@Param("scriptId") String scriptId);

    @Cacheable("longTerm")
    List<C3pScriptParam> selectScriptParamByScriptId(String scriptId);
    @Cacheable("longTerm")
    Integer findScriptDisplayModeById(String scriptId);
}
